//
//  Found.m
//  shise
//
//  Created by Darling❤️ on 14/12/18.
//  Copyright (c) 2014年 MZP. All rights reserved.
//

#import "Found.h"

@implementation Found
// kvc纠错方法
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"detail"]) {
        self.api = [value objectForKey:@"api"];
    }else if ([key isEqualToString:@"pic"]){
        self.url = [value objectForKey:@"url"];
    }
}

- (void)dealloc
{
    [_title release];
    [_api release];
    [_url release];
    [super dealloc];
}


@end
